<%@ Page EnableEventValidation="false" EnableViewState="false" Language="vb" AutoEventWireup="false" CodeFile="entity.aspx.vb" Inherits="pages_Entitys_Entity"
  MasterPageFile="~/masterpages/codegen.master"
    Title="Add or Change a Entity."
    ValidateRequest="False"
%>
<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">

    <uc:FormBegin ID="fb" runat="server" />
        <uc:Textbox  ID="txtEntityClassName" runat="server" Required="true" Label="ClassName" />
        <uc:Dropdown ID="ddEntityConnectionId" Runat="server" Required="true" Label="Connection" />
        <uc:Textbox  ID="txtEntityTableName" runat="server" Required="true" Label="TableName" />
        <uc:Textbox  ID="txtEntitySchemaName" runat="server" Required="true" Label="SchemaName" />
        <uc:Checkbox ID="chkEntityIsCached" runat="server" Required="false" Label="IsCached" />
        <uc:Checkbox ID="chkEntityIsAudited" runat="server" Required="false" Label="IsAudited" />
        <uc:Textbox  ID="txtEntityViewName" runat="server" Required="true" Label="ViewName" />
        <uc:Textbox  ID="txtEntityOrderByColumns" runat="server" Required="true" Label="OrderByColumns" />
        <uc:Textbox  ID="txtEntityOrdinalColumn" runat="server" Required="true" Label="OrdinalColumn" />
        <uc:Textbox  ID="txtEntityCreatedColumn" runat="server" Required="true" Label="CreatedColumn" />
        <uc:Textbox  ID="txtEntityModifiedColumn" runat="server" Required="true" Label="ModifiedColumn" />
        <uc:Textbox  ID="txtEntityFilterColumns" runat="server" Required="true" Label="FilterColumns" />
        <uc:Textbox  ID="txtEntityCreated" Runat="server" Required="true" Label="Created" TextMode="Date" />
        <uc:Textbox  ID="txtEntityModified" Runat="server" Required="true" Label="Modified" TextMode="Date" />
        <uc:FormButtonsBegin ID="fbb" runat="server" />
            <asp:button id="btnSave"    runat="server" text="Update" causesvalidation="True"  />
            <asp:button id="btnDelete"  runat="server" text="Delete" causesvalidation="False" OnClientClick="return confirm('Delete this Entity?')" />
            <asp:button id="btnCancel"  runat="server" text="Cancel" causesvalidation="False" />
        <uc:FormButtonsEnd   ID="fbe" runat="server" />
    <uc:FormEnd ID="fe" runat="server" />
    
    <asp:ValidationSummary ID="vs" runat="server" ShowSummary="true" EnableClientScript="true" DisplayMode="BulletList" />
</asp:Content>
